home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19970929-19971216
/
000263_news@newsmaster….columbia.edu _Fri Nov 14 22:04:20 1997.msg
< prev
next >
Wrap
Internet Message Format
|
1997-12-15
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA01899
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 14 Nov 1997 22:04:20 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id WAA02021
for kermit.misc@watsun; Fri, 14 Nov 1997 22:04:19 -0500 (EST)
Path: news.columbia.edu!panix!howland.erols.net!newsfeed.internetmci.com!199.117.161.1!csn!nntp-xfer-1.csn.net!news!clem.mscd.edu!not-for-mail
From: NICE KERRY <nice@mscd.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Help with scripting kermit
Date: 15 Nov 1997 02:11:03 GMT
Organization: Metropolitan State College of Denver
Lines: 46
Sender: NICE KERRY <nice@clem.mscd.edu>
Message-ID: <64j0bn$7s9$1@clem.mscd.edu>
NNTP-Posting-Host: 147.153.1.3
X-Newsreader: TIN [UNIX 1.3 unoff BETA 970402; alpha OSF1 V4.0]
Xref: news.columbia.edu comp.protocols.kermit.misc:8048
Hi,
I am having trouble getting getting kermit scripting to work. The thing
that I would like to do is have a script run by crontab to dial up
this account, download some files, and then delete them. It seems like
I can do this stuff when I am at the keyboard, but it seems to stick
when it is in a script.
Here is the script that sort of works:
set modem hayes
set line /dev/modem
set speed 19200
set parity none
set dial timeout 60
dial XXX-XXXX\13
input 60 CONNECT
pause 1
;connect
output \0
output " "\13
output \13
output 1\13
output nice\13
output XXXXXXX\13
output cd mail \13
output ls -l\13
output logout\13
output 20\13
It makes it to connecting to the other modem then just sits there. I
can hit a key and I can log in like normal. How do I get its attention.
I have a script that gets past this point in minicom by sending a blank.
I have tried all different combinations of outputs to get past this.
I have looked at a whole bunch of sample scripts, but none of them really
seem to cover this.
Once I get in, how do I start a download on both ends?
After this is working, I will add in all the error handling stuff in case
the number is busy and stuff like that.
Thanks,
Kerry Nice